:root {
  /* Palette sampled from the logo artwork: dark diamond-plate charcoal, amber shop light, off-white brush lettering. */
  --shop-black: #14140f;
  --shop-black-deep: #0b0b08;
  --shop-black-soft: #24241c;
  --gold: #d99a2b;
  --gold-dark: #a8721a;
  --bone: #f2ece0;

  /* Legacy aliases kept so existing rules resolve to the new palette. */
  --navy: var(--shop-black);
  --navy-dark: var(--shop-black-deep);
  --navy-light: var(--shop-black-soft);
  --orange: var(--gold);
  --orange-dark: var(--gold-dark);
  --cream: var(--bone);

  --ink: #1b1f28;
  --muted: #5d6577;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --wrap: 1100px;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--orange-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--orange); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.btn-call, .btn-solid {
  background: var(--orange);
  color: #fff;
}
.btn-call:hover, .btn-solid:hover { background: var(--orange-dark); }

.btn-ghost {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-ghost:hover { background: var(--cream); color: var(--navy); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--cream);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: .2px; }
.brand-sub { font-size: .78rem; color: #b9c2d6; text-transform: uppercase; letter-spacing: .8px; }

.nav-toggle {
  display: none;
  width: 46px; height: 40px;
  background: transparent;
  border: 2px solid var(--navy-light);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px; background: var(--cream); content: "";
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.site-nav ul {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--navy-light); }
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav .btn-call { color: #fff; margin-left: 6px; }
.site-nav .btn-call[aria-current="page"] { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--shop-black) 0%, var(--shop-black-deep) 100%);
  color: var(--bone);
  text-align: center;
  padding: 44px 0 0;
}
/* Artwork sits at its natural aspect ratio so the truck is never cropped. */
.hero-art {
  position: relative;
  margin-top: 30px;
  line-height: 0;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}
/* Feathers the top edge of the photo into the hero background. */
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 22%;
  background: linear-gradient(180deg, var(--shop-black-deep) 0%, rgba(11, 11, 8, 0) 100%);
  pointer-events: none;
}
/* Hero variant with no artwork band (404). */
.hero--plain { padding-bottom: 56px; }
.wordmark { margin: 0 0 10px; line-height: .92; }
.wordmark-josh {
  display: block;
  font-size: clamp(3.4rem, 13vw, 7rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .75);
}
.wordmark-trade {
  display: block;
  font-size: clamp(1.25rem, 4.6vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bone);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .75);
}
.hero-tagline {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 18px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  font-size: clamp(.95rem, 2.8vw, 1.3rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--bone);
}
.hero .accent { color: var(--gold); }
.hero-sub { font-size: 1.05rem; margin: 0 0 28px; color: #cfc7b6; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0 0 16px; }
.hero-note { font-size: .95rem; color: #b3ab9a; margin: 0; }

/* ---------- Page head ---------- */

.page-head {
  background: var(--navy);
  color: var(--cream);
  padding: 44px 0;
}
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.page-head p { margin: 0; color: #dbe1ee; max-width: 60ch; }

/* ---------- Badges ---------- */

.badges { background: var(--bg-alt); padding: 40px 0; border-bottom: 1px solid var(--line); }
.badge-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.badge { text-align: center; }
.badge h2 { color: var(--orange-dark); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.badge p { margin: 0; color: var(--muted); }

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 32px;
  color: var(--navy);
}
.center { text-align: center; margin-top: 32px; }
.small { font-size: .9rem; color: var(--muted); }

.card-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { color: var(--navy); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
/* Cards used as links (404 page). */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card:hover, a.card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  border-color: var(--gold);
}
a.card h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  a.card { transition: none; }
  a.card:hover, a.card:focus-visible { transform: none; }
}

/* ---------- Services ---------- */

.section-lede {
  max-width: 62ch;
  margin: -6px auto 26px;
  text-align: center;
  color: var(--muted);
}
.svc-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.svc h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.12rem; }
.svc p { margin: 0 0 8px; color: var(--muted); }
.svc p:last-child { margin-bottom: 0; }

/* Dashboard-telltale icons. The sprite itself must never render. */
.icon-sprite { display: none; }
.svc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.svc-head h3 { margin: 0; }
.svc-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
}
.svc-icon svg { width: 25px; height: 25px; fill: currentColor; }
.is-red { color: #c0392b; background: rgba(192, 57, 43, .11); }
.is-amber { color: #b07908; background: rgba(217, 154, 43, .16); }
.legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: center;
  margin: -8px 0 24px;
  font-size: .9rem;
  color: var(--muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: currentColor;
}
/* The plain-language symptom line: what a non-car-person would actually notice. */
.svc-when {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: .95rem;
  padding-left: 12px;
  border-left: 3px solid var(--line);
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 14px;
}
.steps li {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 66px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px; top: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--shop-black);
  font-weight: 800;
}
.steps strong { display: block; color: var(--navy); }
.note {
  max-width: 700px;
  margin: 22px auto 0;
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
}

.service-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.service-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--muted);
}
.service-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.shot { margin: 0; }
.shot img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}
.shot-ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .85rem;
}
.shot figcaption {
  margin-top: 8px;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}
.phone-block {
  display: block;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  text-decoration: none;
  border-bottom: 4px solid var(--orange);
}
.phone-label { display: block; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: #b9c2d6; }
.phone-number { display: block; font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 800; color: #fff; }
.contact-actions { margin-top: 18px; text-align: center; }
.contact-side h2 { color: var(--navy); font-size: 1.15rem; margin-top: 24px; }
.contact-side h2:first-child { margin-top: 0; }
.area-list {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.area-list li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta { background: var(--navy-dark); color: var(--cream); padding: 48px 0; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); margin-bottom: 24px; }
.cta p { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #c8d0e0;
  padding: 36px 0;
  border-top: 3px solid var(--orange);
  font-size: .95rem;
}
.footer-inner {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: var(--cream); }
.footer-name { font-weight: 800; color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 12px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .btn-call { margin-left: 0; text-align: center; }
  .hero { padding: 32px 0 0; }
  .hero--plain { padding-bottom: 44px; }
  .hero-art { margin-top: 22px; }
  /* Full-width art is only ~127px tall on a phone, so zoom to keep the truck readable. */
  .hero-art img {
    height: 230px;
    object-fit: cover;
    object-position: 38% center;
  }
  .btn-lg { width: 100%; max-width: 320px; }
  .hero-actions, .cta p { flex-direction: column; align-items: center; }
}
